package com.pkuse.bjousystem.dto.school.enrollment;

import org.apache.commons.lang3.StringUtils;

public class EnrollmentDetailDTO {
    //学号
    private String xh;
    //姓名
    private String xm;
    //学校名称
    private String bmc;
    //入学时间
    private String rxnd;
    //毕业时间
    private String rxxq;
    //专业名称
    private String zymc;
    //学生类别
    private String xslbmc;
    //电话
    private String dh;

    public EnrollmentDetailDTO(String xh, String xm, String bmc, String rxnd, String rxxq, String zymc, String xslbmc, String brlxdh, String yddh) {
        this.xh = xh;
        this.xm = xm;
        this.bmc = bmc;
        this.rxnd = rxnd;
        this.rxxq = rxxq;
        this.zymc = zymc;
        this.xslbmc = xslbmc;
        this.dh = StringUtils.isNotEmpty(yddh) ? yddh : (StringUtils.isNotEmpty(brlxdh) ? brlxdh : "");
    }

    public String getXh() {
        return xh;
    }

    public String getXm() {
        return xm;
    }

    public String getRxnd() {
        return rxnd;
    }

    public String getRxxq() {
        return rxxq;
    }

    public String getZymc() {
        return zymc;
    }

    public String getXslbmc() {
        return xslbmc;
    }

    public String getDh() {
        return dh;
    }

	public String getBmc() {
		return bmc;
	}
    
}
